Docs.rs
swc_compiler_base-5.0.0
swc_compiler_base 5.0.0
Docs.rs crate page
Apache-2.0
Links
Documentation
Repository
crates.io
Source
Owners
kdy1
swc-bot
Dependencies
anyhow ^1.0.81
normal
base64 ^0.21.0
normal
napi ^2.0.0
normal
optional
napi-derive ^2.0.0
normal
optional
once_cell ^1.19.0
normal
pathdiff ^0.2.1
normal
rustc-hash ^1.1.0
normal
serde ^1.0.197
normal
serde_json ^1.0.115
normal
sourcemap ^9.0.0
normal
swc_allocator ^1.0.0
normal
swc_atoms ^2.0.0
normal
swc_common ^4.0.0
normal
swc_config ^1.0.0
normal
swc_ecma_ast ^4.0.0
normal
swc_ecma_codegen ^4.0.0
normal
swc_ecma_minifier ^5.0.0
normal
swc_ecma_parser ^5.0.0
normal
swc_ecma_visit ^4.0.0
normal
swc_timer ^1.0.0
normal
Versions
11.11%
of the crate is documented
Platform
i686-unknown-linux-gnu
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
swc_
compiler_
base
5.0.0
All Items
Crate Items
Structs
Enums
Functions
Crate
swc_compiler_base
Copy item path
Source
Structs
§
Ident
Collector
Print
Args
Transform
Output
Enums
§
IsModule
Source
Maps
Config
Configuration related to source map generated by swc.
Functions
§
minify_
file_
comments
parse_
js
This method parses a javascript / typescript file
print
Converts ast node to source string and sourcemap.